const user = require("../User")

async function fn(){
  const userData = await user.find({});
  userData.forEach(async val=>{ 
    val.power.push( '/customer', '/customer/add', '/customer/set', '/customer/delete' );
    await user.updateMany( {}, { power: val.power } );
  })
}

fn();